.container{
    width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}
.goods{
    display: flex;
}
.goods div{
    position: relative;
    width: 200px;
    border: 1px solid #000;
}
.goods div button{
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
}
.goods div:hover button{
    display: block;
}
.goods img{
    width: 100%;
}